<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TURN Server: turn::StunMsgRequest Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TURN Server
   &#160;<span id="projectnumber">1.5</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceturn.html">turn</a>      </li>
      <li class="navelem"><a class="el" href="classturn_1_1StunMsgRequest.html">StunMsgRequest</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">turn::StunMsgRequest Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for turn::StunMsgRequest:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classturn_1_1StunMsgRequest.png" usemap="#turn::StunMsgRequest_map" alt=""/>
  <map id="turn::StunMsgRequest_map" name="turn::StunMsgRequest_map">
<area href="classturn_1_1StunMsg.html" alt="turn::StunMsg" shape="rect" coords="0,0,133,24"/>
</map>
 </div></div>

<p><a href="classturn_1_1StunMsgRequest-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a08084dd04744d1c0885bf5fc8789555a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a08084dd04744d1c0885bf5fc8789555a">StunMsgRequest</a> (u16bits method)</td></tr>
<tr class="memitem:a167b966efc7317d23d8a97e3edf6cf7d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a167b966efc7317d23d8a97e3edf6cf7d">StunMsgRequest</a> (u08bits *buffer, size_t total_sz, size_t sz, bool constructed)  throw (WrongStunBufferFormatException)</td></tr>
<tr class="memitem:a705005f128c40e383b55aa6148606266"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a705005f128c40e383b55aa6148606266">~StunMsgRequest</a> ()</td></tr>
<tr class="memitem:a53252547fec0e3272134430ad202fdef"><td class="memItemLeft" align="right" valign="top">u16bits&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a53252547fec0e3272134430ad202fdef">getMethod</a> () const </td></tr>
<tr class="memitem:a77b3d4feeedd071686103bb920109638"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a77b3d4feeedd071686103bb920109638">setMethod</a> (u16bits method)</td></tr>
<tr class="memitem:a5a51b0bf762f434351dc39db81d9f0a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a5a51b0bf762f434351dc39db81d9f0a0">constructBindingRequest</a> ()</td></tr>
<tr class="memitem:a4e26277db9a9d62fa26b57ac1598b832"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a4e26277db9a9d62fa26b57ac1598b832">isBindingRequest</a> () const </td></tr>
<tr class="memitem:a510c21edd510961e41660e9d8adcbd21"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a510c21edd510961e41660e9d8adcbd21">constructAllocateRequest</a> (u32bits lifetime, int address_family)</td></tr>
<tr class="memitem:a1a41fdaadc24770a28f7ed2e02eecd92"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a1a41fdaadc24770a28f7ed2e02eecd92">constructChannelBindRequest</a> (const ioa_addr &amp;peer_addr, u16bits channel_number)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aaa0f5e09aa1ea41c740d7ea90f41f7e7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#aaa0f5e09aa1ea41c740d7ea90f41f7e7">constructBuffer</a> ()</td></tr>
<tr class="memitem:a670d1c36082b90e60705436ce0befeff"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classturn_1_1StunMsgRequest.html#a670d1c36082b90e60705436ce0befeff">check</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class that represents the "request" flavor of STUN/TURN messages. </p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00773">773</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a08084dd04744d1c0885bf5fc8789555a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classturn_1_1StunMsgRequest.html#a08084dd04744d1c0885bf5fc8789555a">turn::StunMsgRequest::StunMsgRequest</a> </td>
          <td>(</td>
          <td class="paramtype">u16bits&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00775">775</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">: _method(method) {};
</pre></div>
</div>
</div>
<a class="anchor" id="a167b966efc7317d23d8a97e3edf6cf7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classturn_1_1StunMsgRequest.html#a08084dd04744d1c0885bf5fc8789555a">turn::StunMsgRequest::StunMsgRequest</a> </td>
          <td>(</td>
          <td class="paramtype">u08bits *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>total_sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>constructed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>  throw (<a class="el" href="classturn_1_1WrongStunBufferFormatException.html">WrongStunBufferFormatException</a>)<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00776">776</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                                      :
                        <a class="code" href="classturn_1_1StunMsg.html#a96595cee419124a84d6bfa73407da683">StunMsg</a>(buffer,total_sz,sz,constructed),_method(0) {

                <span class="keywordflow">if</span>(constructed) {
                        <span class="keywordflow">if</span>(!<a class="code" href="ns__turn__msg_8h.html#a056f82760a5c80f0bc497872d534045b">stun_is_request_str</a>(buffer,sz)) {
                                <span class="keywordflow">throw</span> WrongStunBufferFormatException();
                        }
                        _method = <a class="code" href="ns__turn__msg_8h.html#ad36b53fe3bd0eff2cd84ac9e27ba868e">stun_get_method_str</a>(buffer,sz);
                }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a705005f128c40e383b55aa6148606266"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classturn_1_1StunMsgRequest.html#a705005f128c40e383b55aa6148606266">turn::StunMsgRequest::~StunMsgRequest</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00787">787</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">{}
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a670d1c36082b90e60705436ce0befeff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classturn_1_1StunMsgRequest.html#a670d1c36082b90e60705436ce0befeff">turn::StunMsgRequest::check</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classturn_1_1StunMsg.html#a9c6452d0d71052a0bda4ded876cc43ea">turn::StunMsg</a>.</p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00835">835</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                             {
                <span class="keywordflow">if</span>(!<a class="code" href="classturn_1_1StunMsg.html#ac00be2fea5b4ab929ea6078871ec33d8">_constructed</a>)
                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
                <span class="keywordflow">if</span>(!<a class="code" href="ns__turn__msg_8h.html#a056f82760a5c80f0bc497872d534045b">stun_is_request_str</a>(<a class="code" href="classturn_1_1StunMsg.html#a0222f924d9fc1b9b268ba87c459dd7fd">_buffer</a>,<a class="code" href="classturn_1_1StunMsg.html#aa3c270c8abbdd22abe101907248754a9">_sz</a>)) {
                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
                }
                <span class="keywordflow">if</span>(_method != <a class="code" href="ns__turn__msg_8h.html#ad36b53fe3bd0eff2cd84ac9e27ba868e">stun_get_method_str</a>(<a class="code" href="classturn_1_1StunMsg.html#a0222f924d9fc1b9b268ba87c459dd7fd">_buffer</a>,<a class="code" href="classturn_1_1StunMsg.html#aa3c270c8abbdd22abe101907248754a9">_sz</a>)) {
                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
                }
                <span class="keywordflow">return</span> <span class="keyword">true</span>;
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a510c21edd510961e41660e9d8adcbd21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classturn_1_1StunMsgRequest.html#a510c21edd510961e41660e9d8adcbd21">turn::StunMsgRequest::constructAllocateRequest</a> </td>
          <td>(</td>
          <td class="paramtype">u32bits&#160;</td>
          <td class="paramname"><em>lifetime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>address_family</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Construct allocate request </p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00817">817</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                                                            {
                <a class="code" href="ns__turn__msg_8h.html#a97f8d17fdb478f2e7bc61eab956a7545">stun_set_allocate_request_str</a>(<a class="code" href="classturn_1_1StunMsg.html#a0222f924d9fc1b9b268ba87c459dd7fd">_buffer</a>, &amp;<a class="code" href="classturn_1_1StunMsg.html#aa3c270c8abbdd22abe101907248754a9">_sz</a>, lifetime, address_family);
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a5a51b0bf762f434351dc39db81d9f0a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classturn_1_1StunMsgRequest.html#a5a51b0bf762f434351dc39db81d9f0a0">turn::StunMsgRequest::constructBindingRequest</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Construct binding request </p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00806">806</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                       {
                <a class="code" href="ns__turn__msg_8h.html#a7ebe60f4317b4dc0cc70ac50435620d3">stun_set_binding_request_str</a>(<a class="code" href="classturn_1_1StunMsg.html#a0222f924d9fc1b9b268ba87c459dd7fd">_buffer</a>, &amp;<a class="code" href="classturn_1_1StunMsg.html#aa3c270c8abbdd22abe101907248754a9">_sz</a>);
        }
</pre></div>
</div>
</div>
<a class="anchor" id="aaa0f5e09aa1ea41c740d7ea90f41f7e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classturn_1_1StunMsgRequest.html#aaa0f5e09aa1ea41c740d7ea90f41f7e7">turn::StunMsgRequest::constructBuffer</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classturn_1_1StunMsg.html#a15530c575e485a35f4d87ba7e117d195">turn::StunMsg</a>.</p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00830">830</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                       {
                <a class="code" href="ns__turn__msg_8h.html#a636c9ed7eed002113d1f36b752f82091">stun_init_request_str</a>(_method,<a class="code" href="classturn_1_1StunMsg.html#a0222f924d9fc1b9b268ba87c459dd7fd">_buffer</a>,&amp;<a class="code" href="classturn_1_1StunMsg.html#aa3c270c8abbdd22abe101907248754a9">_sz</a>);
                <a class="code" href="classturn_1_1StunMsg.html#ac00be2fea5b4ab929ea6078871ec33d8">_constructed</a> = <span class="keyword">true</span>;
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a1a41fdaadc24770a28f7ed2e02eecd92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classturn_1_1StunMsgRequest.html#a1a41fdaadc24770a28f7ed2e02eecd92">turn::StunMsgRequest::constructChannelBindRequest</a> </td>
          <td>(</td>
          <td class="paramtype">const ioa_addr &amp;&#160;</td>
          <td class="paramname"><em>peer_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16bits&#160;</td>
          <td class="paramname"><em>channel_number</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Construct channel bind request </p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00824">824</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                                                                            {
                <a class="code" href="ns__turn__msg_8h.html#a358a289c2efc5c4c138170502bc66e9f">stun_set_channel_bind_request_str</a>(<a class="code" href="classturn_1_1StunMsg.html#a0222f924d9fc1b9b268ba87c459dd7fd">_buffer</a>, &amp;<a class="code" href="classturn_1_1StunMsg.html#aa3c270c8abbdd22abe101907248754a9">_sz</a>,
                                        &amp;peer_addr, channel_number);
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a53252547fec0e3272134430ad202fdef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16bits <a class="el" href="classturn_1_1StunMsgRequest.html#a53252547fec0e3272134430ad202fdef">turn::StunMsgRequest::getMethod</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get request method </p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00792">792</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                  {
                <span class="keywordflow">return</span> _method;
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a4e26277db9a9d62fa26b57ac1598b832"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classturn_1_1StunMsgRequest.html#a4e26277db9a9d62fa26b57ac1598b832">turn::StunMsgRequest::isBindingRequest</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00810">810</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                      {
                <span class="keywordflow">return</span> <a class="code" href="ns__turn__msg_8h.html#a28fc59311318aaa02ae9a92e7e10b697">stun_is_binding_request_str</a>(<a class="code" href="classturn_1_1StunMsg.html#a0222f924d9fc1b9b268ba87c459dd7fd">_buffer</a>,<a class="code" href="classturn_1_1StunMsg.html#aa3c270c8abbdd22abe101907248754a9">_sz</a>,0);
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a77b3d4feeedd071686103bb920109638"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classturn_1_1StunMsgRequest.html#a77b3d4feeedd071686103bb920109638">turn::StunMsgRequest::setMethod</a> </td>
          <td>(</td>
          <td class="paramtype">u16bits&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set method </p>

<p>Definition at line <a class="el" href="TurnMsgLib_8h_source.html#l00799">799</a> of file <a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a>.</p>
<div class="fragment"><pre class="fragment">                                       {
                _method = method;
        }
</pre></div>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/client++/<a class="el" href="TurnMsgLib_8h_source.html">TurnMsgLib.h</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Tue Jan 22 2013 14:23:55 for TURN Server by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
